package com.amsp.oa.oademo.service;

import com.amsp.oa.oademo.entity.FixedAssetInventory;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface FixedAssetInventoryService extends IService<FixedAssetInventory> {

    /**
     * 分页查询固定资产盘点记录
     */
    IPage<FixedAssetInventory> getPage(Integer current, Integer size, String assetCode, String assetName,
            String department, String responsiblePerson, String startDate, String endDate);

    /**
     * 批量保存固定资产盘点记录
     */
    boolean saveBatch(List<FixedAssetInventory> list, String reviewer, String confirmer,
            String sampler, String rechecker, String initialChecker);

    /**
     * 更新批量固定资产盘点记录
     */
    boolean updateBatch(Long id, List<FixedAssetInventory> inventoryList, String reviewer, String confirmer,
            String sampler, String rechecker, String initialChecker);
}